package com.ojoin.trade.t0loan_core.web.dao;

import java.util.List;

import org.springframework.data.domain.Pageable;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.dao.BaseDao;
import com.ojoin.trade.t0loan_core.web.domain.TbPosTranscationLog;

public interface TbPosTranscationLogDao extends BaseDao<TbPosTranscationLog> {

	public List<TbPosTranscationLog> queryAllNoT1LoanPosTransInfoListByPayUserID(
			int joinuserid, String transdate) throws BusinessException;
	
	public List<TbPosTranscationLog> queryT0LoanLiveUserHistoryPosTransListByMhtNo(String mhtno, Pageable page)
			throws BusinessException;
	
	public TbPosTranscationLog queryT1LoanPosTransInfoSumByPayUserID(int joinuserid, String transdate) throws BusinessException;
	
	public void deleteByIdInBatch(Integer joinuserid, String transdate) throws BusinessException;

}
